package io.bdmc.modules.bss.mapper;

import io.bdmc.modules.bss.entity.DeviceLinkGroup;
import org.apache.ibatis.annotations.Param;
import io.bdmc.common.utils.MyPage;

import java.util.HashMap;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 链路视图组 Mapper 接口
 * </p>
 *
 * @author 黄露
 * @since 2021-06-25
 */
public interface DeviceLinkGroupMapper extends BaseMapper<DeviceLinkGroup> {

    MyPage<DeviceLinkGroup> mySelectPage(@Param("myPage") MyPage<DeviceLinkGroup> myPage);

    List<HashMap<String, Object>> routeTree(@Param("deptId") int deptId);

}
